package com.zboot.zbootadmin.project.system.log.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zboot.zbootadmin.project.system.log.entity.SysLogninIformation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;
/**
 * @Author: zyt
 * @Description:
 * @Date: Created in 11:38 2020/11/15
 */
@Repository
@Mapper
public interface SysLoginInformationMapper extends BaseMapper<SysLogninIformation> {

    /**
     *
     * @Description: 清空登陆日志
     *
     * @author: zyt
     * @date: 20:41 2020/11/18
     * @param: []
     * @return: void
     *
     */
    @Update("truncate table sys_logininformation")
    void clearInfo();
}
